package swu.edu.cn.javaee.mapper;

import org.springframework.stereotype.Repository;
import swu.edu.cn.javaee.entity.Tcomment;

import java.util.List;

@Repository
public interface TcommentMapper {
    public void saveTcomment(Tcomment tcomment);
    public List<Tcomment> queryTcommentList(String tid);
    public Integer counts(String tid);
    public Tcomment queryTcommentById(String tid);
    public Tcomment deleteTcomment(String tid);
}
